package com.db;

import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;
import java.net.Socket;

public class EchoStub {
    private Transport transport;

    public EchoStub(Transport transport) {
        this.transport = transport;
    }

    public void echo() throws TransportException {
        String response = transport.request("Hello!!!");
    }
}
